package cn.xspace.wnx.view.chat.chatrow;

import android.content.Context;
import android.widget.BaseAdapter;
import android.widget.TextView;

import cn.xspace.wnx.R;
import cn.xspace.chatui.bean.MsgRecordEntity;

/**
 * Created by liuchen on 2016/11/3.
 */

public class ChatRowNotice extends BaseChatRow {

    private TextView contentView;

    public ChatRowNotice(Context context, MsgRecordEntity message, int position, BaseAdapter adapter) {
        super(context, message, position, adapter);
    }

    @Override
    protected void onInflateView() {
        inflater.inflate(R.layout.chat_row_notice, this);
    }

    @Override
    protected void onFindViewById() {
        contentView = (TextView) findViewById(R.id.tv_notice);
    }

    @Override
    protected void onUpdateView() {

    }


    @Override
    protected void onSetUpView() {
        contentView.setText(message.msg_content);
    }

    @Override
    protected void onBubbleClick() {

    }

}
